package com.chianghao.rock.admin.system.role.dto;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("添加角色DTO")
public class RoleAddDto {
	
	@NotNull(message="error:name,not.null")
	@ApiModelProperty("角色名称")
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
	

}
